 <?php 
  require_once('nav.php');
 ?>
    <div class="col-sm-9 col-md-10">
      <?php 
         $id=$_GET['id'];
		$sql="select * from flower where lyj_id={$id}";
		$result=fetch_array($sql);     
?>
   <center><h3>鲜花详细信息</h3></center>
   <table class="table table-hover"> 
   <tr>
     <th>编号</th>
     <th>鲜花标题</th>   
     <th>鲜花产地</th>
     <th>鲜花简介</th>
     <th>鲜花图片</th>
   </tr>
   <?php
    foreach ($result as $row) {
     echo '<tr>';
     echo '<td>'.$row['lyj_id'].'</td>';
     echo '<td>'.$row['lyj_title'].'</a>'.'</td>';  
     echo '<td>'.$row['lyj_place'].'</td>';  
     echo '<td>'.$row['lyj_intro'].'</td>';  
     echo '<td ><img src="uplaod/'.$row['lyj_pic'].' "width=60 height=80></td>'; 
     echo '</tr>';  
    }

    echo '</table>';   
   ?>

    </div>
    <?php 
      require_once('footer.php');
     ?>
 
